package com.plm.mongo.model;

import java.io.Serializable;

/**
 * @author Limi
 * @create 2018-12-31 21:36
 */
public class Student implements Serializable {
    private Object _id;
    private String namge;
    private String gender;
    private int age;
    private Hobby hobby;

    public Object get_id() {
        return _id;
    }

    public void set_id(Object _id) {
        this._id = _id;
    }

    public String getNamge() {
        return namge;
    }

    public void setNamge(String namge) {
        this.namge = namge;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Hobby getHobby() {
        return hobby;
    }

    public void setHobby(Hobby hobby) {
        this.hobby = hobby;
    }

    @Override
    public String toString() {
        return "Student{" +
                "_id='" + _id + '\'' +
                ", namge='" + namge + '\'' +
                ", gender='" + gender + '\'' +
                ", age=" + age +
                ", hobby=" + hobby +
                '}';
    }
}
